<?php
namespace app\services\models;

use think\Model;

class Orders extends Model
{
    const status_default = 1;
    const status_success = 2;
    const status_failed  = 3;

    const type_pay      = 1; //支付类型
    const type_withdraw = 2; //提现类型
    
    const status_text   = [
        self::status_default => '执行中',
        self::status_success => '执行成功',
        self::status_failed  => '执行失败',
    ];
    
    const type_text     = [
        self::type_pay      => '划扣',
        self::type_withdraw => '还款',
    ];

    const max_diff_day = 10;  
}